Fix introspection on return value transfer for gtk_clipboard_get*
authorAlan Knowles <alan@alanfast.akbkhome.com>
Wed, 10 Mar 2010 14:21:52 +0000 (22:21 +0800)
committerAlan Knowles <alan@alanfast.akbkhome.com>
Wed, 10 Mar 2010 14:21:52 +0000 (22:21 +0800)
ownership transfer set to none for clipboard get methods

gtk/gtkclipboard.c

index a8972127aa63e6ded1edab73657c54f2960a1681..ddfc709d54230189b2297719d9f2c2eb60b2d732 100644 (file)
@@ -287,7 +287,7 @@ clipboard_display_closed (GdkDisplay   *display,
  * if your application called "Foo" has a special-purpose
  * clipboard, you might call it "_FOO_SPECIAL_CLIPBOARD".
  * 
- * Return value: the appropriate clipboard object. If no
+ * Return value: (transfer none): the appropriate clipboard object. If no
  *             clipboard already exists, a new one will
  *             be created. Once a clipboard object has
  *             been created, it is persistent and, since
@@ -315,7 +315,7 @@ gtk_clipboard_get_for_display (GdkDisplay *display,
  * Returns the clipboard object for the given selection.
  * See gtk_clipboard_get_for_display() for complete details.
  *
- * Return value: the appropriate clipboard object. If no clipboard
+ * Return value: (transfer none): the appropriate clipboard object. If no clipboard
  *     already exists, a new one will be created. Once a clipboard
  *     object has been created, it is persistent and, since it is
  *     owned by GTK+, must not be freed or unreffed.